<?php
$this->breadcrumbs=array(
	'Alumnos'=>array('index'),
$model->idalumno=>array('view','id'=>$model->idalumno),
	'Actualizar',
);

$this->menu=array(
array('label'=>'Listar Alumno', 'url'=>array('index')),
array('label'=>'Crear Alumno', 'url'=>array('create')),
array('label'=>'Ver Alumno', 'url'=>array('view', 'id'=>$model->idalumno)),
array('label'=>'Administrar Alumno', 'url'=>array('admin')),
);
?>

<h1>
	Actualizar Información Alumno
	<?php echo $model->user->NombreCompleto; ?>
</h1>

<?php $flashMessages = Yii::app()->user->getFlashes();
if ($flashMessages) {
	echo '<ul class="flashes">';
	foreach($flashMessages as $key => $message) {
		echo '<li><div class="flash-' . $key . '">' . $message . "</div></li>\n";
	}
	echo '</ul>';
}
?>
<div class="form">



<?php
$form=$this->beginWidget('CActiveForm', array(
	'id'=>'update-form',
	'enableClientValidation'=>true,
	'enableAjaxValidation'=>false,
));

echo $form->errorSummary(array($model,$user));
echo '<div class="form">';
$this->renderPartial('_form', array('model'=>$model,'user'=>$user,'form'=>$form));
echo '</div>';
if(isset($familiars)){
	foreach($familiars as $i=>$familia){
		$this->renderPartial('_familiarForm',array('familia'=>$familia,'i'=>$i,'form'=>$form));

	}
}


echo '<div class="row buttons">';
echo CHtml::submitButton($model->isNewRecord ? 'Crear' : 'Guardar');
echo '</div>';
?>
</div>

<?php $this->endWidget(); ?>